package com.example.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 
 * @TableName wd_banner
 */
@TableName(value ="wd_banner")
@Data
public class Banner implements Serializable {
    /**
     * banner的id
     */
    @TableId(value = "banner_id", type = IdType.ID_WORKER_STR)
    private String bannerId;

    /**
     * 图片地址
     */
    private String pictureUrl;

    /**
     * 跳转地址
     */
    private String urlTo;

    /**
     * 创建时间
     */
    @TableField(fill = FieldFill.INSERT)
    private Date gmtCreate;

    private static final long serialVersionUID = 1L;
}